<?php
/**
 * Created by PhpStorm.
 * User: zouhua
 * Date: 2017/6/15
 * Time: 17:59
 */

namespace app\components;


use yii\web\AssetBundle;
use yii\web\View;

class SwiperAsset extends AssetBundle {

    public $basePath = '@webroot/assets';
    public $baseUrl = '@web/assets';
    public $css = [
        'common/swiper/swiper.min.css',
    ];
    public $js = [
        'common/swiper/swiper.min.js',
    ];

    public $jsOptions = ['position' => View::POS_END];
    /**
     * @var array the options that will be passed to [[View::registerCssFile()]]
     * when registering the CSS files in this bundle.
     */
    public $cssOptions = ['position' => View::POS_END];

}